<template>
  <div style="font-size:48px;">
    <h1>测试0</h1>
    <p v-for="(word,index) in templeString" :key="index">{{ word }}</p>
    <div style="float:right" @click="()=>{this.count++}">+</div>
<input style="font-size:48px;float:right;" v-model="count">
<div style="float:right;" @click="()=>{if(this.count>1){this.count--}}">-</div>


  </div>
</template>
<script>
export default {
  data () {
    return {
      templeString: "test",
      count: 1,
    }
  }
}
</script>
